package indi.woniu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class StudentAnswer {

  private long id;
  private long userId;
  private String singleAnswer;
  private String manyAnswer;
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd'T'HH:mm:ss")
  private java.sql.Timestamp createTime;
  private long paperId;
  private int grade;
  private int examId;





}
